SINGLE image
Single image literals begin with 0s and are followed by 8 hexadecimal digits. Single
image literals are images of the 32-bit SINGLE data type in 4-bit chunks. Exactly 8
hex digits must follow the 0s prefix. Any fewer will result in an erroneous value,
while hex digits beyond 8 are not included in the single image value.
0s40800000 4.00000 1.000 x 2 2
0s40400000 3.00000 1.500 x 2 1
0s40000000 2.00000 1.000 x 2 1
0s3F800000 1.00000 1.000 x 2 0
0s3F400000 0.75000 1.500 x 2 -1
0s3F000000 0.50000 1.000 x 2 -1
0s3E800000 0.25000 1.000 x 2 -2
0s3E000000 0.12500 1.000 x 2 -3
Single image format is useful when exact specification of SINGLE numbers is necessary, as
when creating values for math functions where the highest possible precision is important.
DOUBLE image
Double image literals begin with 0d and are followed by exactly 16 significant hexadecimal
digits (any beyond 16 are not part of the number). Double Image literals are images
of the 64-bit DOUBLE data type in 4-bit chunks.
0d4010000000000000 4.00000 1.000 x 2 2
0d4008000000000000 3.00000 1.500 x 2 1
0d4000000000000000 2.00000 1.000 x 2 1
0d3FF0000000000000 1.00000 1.000 x 2 0
0d3FE8000000000000 0.75000 1.500 x 2 -1
0d3FE0000000000000 0.50000 1.000 x 2 -1
0d3FD0000000000000 0.25000 1.000 x 2 -2
0d3FC0000000000000 0.12500 1.000 x 2 -3
Double image format is useful when exact specification of DOUBLE numbers is necessary, as
when creating values for math functions where the highest possible precision is important.